I have found only one software solution to this problem: http://docs.myjabber.net/howto/stu.htm for windows only!. This cries for some perl scripting... So let's put it on the list of things to do when there is more time.
Next Project: Transferring Jabber Contacts from one server to another
written by Christian Kellermann on 2005-01-28