I got bored of joining segments together of bad imported vector objects so I made this, it's not the best thing in the world but might save you a few clicks.
The script compares the positions of all the vertices and if they are within the specified tolerance it'll perform a join segment command until everything is all joined up. - Connect your splines first!
Hope you like it, let me know if you find it useful. (Go easy, it's one of my first Python scripts)