Building a cut-down version of jQuery

Building a cut-down version of jQuery


I have written a small amount of jQuery for a client and they are
unhappy with the fact that jQuery contains code that isn't used on the
website, so they've told me to remove everything from jQuery except
for what I'm using (which is a selector with .find(), .hover(),
and .animate() )
I have checked jQuery trunk out of SVN and tried commenting out lines
in the make file which refer to .js files I am not using such as
ajax.js or support.js but as soon as I comment out one of these lines
and run the make, the jQuery no longer works.
Has anybody done anything like this before and can give some advice on
cutting out the majority of functions?