On the $\Gamma$-limit of the Mumford-Shah functional