The Visual Studio template has
bundles.Add(new ScriptBundle("~/bundles/jquery").Include("~/Scripts/jquery-{version}.js"));
in BundleConfig.cs and I want to add jquery-ui.min.js to the bundle. So I did
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-ui.min.js"));
but now my I'm getting
Uncaught ReferenceError: jQuery is not defined
in my JS console. What should I have done if I wanted to add jquery-ui.min.js to the bundle, or do I need to add it separately?

jquery.jswill need to be listed beforejquery-ui.js.