title: RequireJS + Optimizer Include modules defined on the main file
body: <p>I'm using Optimizer for the first time and I am running in some issues or questions.</p>
  
  <p>I'm trying to optimize a main file and it puts, like I've expected, the jQuery, Backbone and Require modules ( and uses then across the whole navigation). But let's say I have a jQuery Plugin that I use on several views. I've tried to add it in the main file using the "include" option on the build.js file. It adds it ( e.g jQuery Slides ) but as I have a view with define("jquery-slides") ( again, an example ) the browser loads the file of the plugin again. Even if it is on the main built file. </p>
  
  <p>Is this suppose to happen? Can I fix this?</p>
  
  <p>Thanks.</p>
  
  <p>Here is some code. Hope it helps =)</p>
  
  <p><strong>build.js</strong></p>
  
  <pre><code>{
  baseUrl: "javascripts/",
  appDir: "..",
  dir: "dist",
  name: "main-site",
  
  include: ['libs/requirejs/require', jquery-slides'],
  insertRequire: ['main-site'],
  
  paths: {
      "main-site": 'main-site',
      'jquery': 'libs/jquery/jquery',
      'jquery-slides': 'libs/jquery/plugins/slides.min.jquery'
  
  }
  }
  </code></pre>
  
  <p><strong>main-site.js</strong></p>
  
  <pre><code>require.config({
  baseUrl: "/javascripts/",
  paths: {
      'jquery': 'libs/jquery/jquery',
      'underscore': 'libs/underscore/underscore',
      'bootstrap': 'libs/bootstrap/bootstrap.min',
      'datepicker': 'libs/bootstrap/plugins/bootstrap-datepicker',
      'backbone': 'libs/backbone/backbone.max',
      'backbone-paginator': 'libs/backbone/plugins/backbone.paginator',
      'backbone-validation': 'libs/backbone/plugins/backbone.validation',
      'text': 'libs/requirejs/text',
      'templates': '/templates/site',
      'views': 'views/site',
      'jquery-cookie': 'libs/jquery/plugins/jquery.cookie',
      'jquery-raty': 'libs/jquery/plugins/jquery.raty.min',
      'jquery-slides': 'libs/jquery/plugins/slides.min.jquery'
  },
  shim: {
      'backbone-paginator': ['backbone'],
      'bootstrap': ['jquery'],
      'datepicker': ['bootstrap'],
      'jquery-cookies': ['jquery'],
      'jquery-raty': ['jquery'],
      'jquery-slides': ['jquery'],
      'backbone-validation': ['backbone']
  }
  });
  
  require([
  'app-site'
  ], function(App) {
  $(function(){
      App.initialize();
  });
  });
  </code></pre>