According to Chengdu County Annals, a disastrous fire consumed the temple at the end of the Ming dynasty (1368–1644), only ten iron statues of Buddhist deities and two thousand-year-old China firs survived.
In 1681, in the reign of Kangxi Emperor of the Qing dynasty (1644–1911), master Cidu (慈笃) came to the site and built a thatched cottage. At that time, the temple was renamed "Wenshu Temple", which is still in use now. Renovations and rebuilding to the buildings began in 1697 and were completed in 1706.
The Mahavira Hall in it has single-eave gable and hip roof and is 10.56-metre (34.6 ft) high. A sitting statue of Sakyamuni is placed in the middle of the hall. Statues of Ananda and Kassapa Buddha stand on the left and right sides of Sakyamuni's statue. The statues were cast in 1829 in the Daoguang era of the Qing dynasty.