I had the same problem on my 98 TJ, I found this video on you tube and it was a very simple fix, really did the job for me, its been 5 Months with some off road driving and not a sign of the mirrors becoming loose again.
This is the link to the video: