There are a few automated tools that will add semi-colons for you (YUI Compressor etc), however, these are usually considered 'risky' to rely on. A much better approach is to stick your code into http://www.jslint.com/ which will report exactly where semi-colons are missing, just spend some time correcting the semi-colon errors and go from there.
Also, see this thread, I have never had trouble with missing the semicolon after the closing } on a function, basically if JSLint says its OK, its always compressed and worked (fingers crossed)
Good luck!