What's the maximum temp on the separated thermometer? I've got a few that regularly separate, like my Jobo one that only goes up to 30C on the scale.
Simple solution, some hot water out of the tap about 40-50C in a cup. Dip the thermometer and watch the liquid rise until it's nearly to the top, then pull it out so it slows or goes down a bit. Keep dipping and pulling out (man, that sounds dirty), to keep the liquid rising slowly, until it's all back together.
(It won't explode too easily, there's a bulb at the top to keep some expansion space, but if you drop it in water that's too hot and forget about it, it might.)
Once all the liquid is back together, just let it cool to room temp while holding it vertical (or near enough).