Ok. If you need to use in a browser then the method you mentioned was correct.
<script src="<PATH OF OTHER FILE>Y.js"></script>
The viewer will learn the basics of jQuery, including how to invoke it on a web page.
Reference your jQuery libraries: (CODE)
Include your new external js/jQuery file: (CODE)
Write your first lines of code to setup your site for jQuery.: (CODE)