The minaret is still the original as in all those centuries it only needed some minor cosmetic fixes. When the Soviets came to town it was closed again and used as a warehouse. Only at Uzbek independence did the mosque reopen.
The Soviets did, however, allow the minaret to provide useful habitat
Did no one assail you with stories of the "cruel emir" of Bukhara, the use of the minaret as an execution site (as in thrown from the top) or the famous "bug pit?"