After some long reading in several issues on drupal.org. Here is the solution:
Install http://drupal.org/project/jquery_update [2] (install the 6.x-2.0-alpha1)
Patch it with this patch http://drupal.org/node/685060#comment-3560788 [3]
Now you need a core patch otherwise some the views ajax and some other jquery will stop working. The core patch is here:
http://drupal.org/node/479368#comment-3198886 [4]
Links
[1] https://dominiquedecooman.com/blog-topics/jquery-0
[2] http://drupal.org/project/jquery_update
[3] http://drupal.org/node/685060#comment-3560788
[4] http://drupal.org/node/479368#comment-3198886