Tool to see which scripts are not being used

I’m recovering a site that was hacked. I’d like to delete all scripts that aren’t being used, but the back end is very cluttered and it’s not a simple thing to determine what scripts are being used and what aren’t. I know that just because a script is loaded into a page doesn’t necessarily mean it is actually being used.

Are there any tools I can use to help me find unused scripts?

Thanks.

You can use furebug add-ons that will help to track such type of issues