I ran into the same problem and got around it by using jQuery’s noConflict() function.
See here which goes into a lot more detail:
http://docs.jquery.com/Using_jQuery_with_Other_Libraries
The gist of it is you can either use this before your own jQuery code (NOT the library):
and then switch every single "$" in your jQuery code (again, YOUR code, not the jquery.js library itself) to "jQuery," as in
jQuery(document).ready(function(){
jQuery("div").hide(); //using 'jQuery' instead of '$'
});
Or if you’re attached to ’$’ shortcut you can do this:
jQuery.noConflict();
jQuery(document).ready(function($){ //note the '$' in function($)
$("div").hide(); //you can keep using '$' here
});
You might also have to adjust any plugins you’re using like this:
(function($) { /* lots of plugin code that likely uses $ */ })(jQuery)