title: merging files with dependencies - require js
body: <p>I'm using require JS.
  I want to marge two files into one.
  I'm using for that require js plugin for grunt.
  First file is <a href="http://wbotelhos.com/raty" rel="nofollow noreferrer">raty jquery script</a>.</p>
  
  <p>Second is my own file like this:</p>
  
  <pre><code>define('userGlosowanie', ['jquery', 'raty'], function ($) {
      'use strict';
  
      return {
          init: function () {
          }
      }
  });
  </code></pre>
  
  <p>And here is my grunt script:</p>
  
  <pre><code>requirejs: {
      userGlosowanie: {
          options: {
              baseUrl: "js/libs",
              paths: {
                  userGlosowanie: "../dev/uzytkownik-glosowanie",
                  raty: "raty/jquery.raty",
              },
              name: "userGlosowanie",
              out: "js/build/uzytkownik.min.js",
              preserveLicenseComments: false,
  
          }
      },
  },
  </code></pre>
  
  <p>Problem is that I've got error:</p>
  
  <pre><code>Running "requirejs:user" (requirejs) task
  &gt;&gt; Error: ENOENT, no such file or directory
  &gt;&gt; 'D:\strony\www\polskieszlaki\js\libs\jquery.js'
  &gt;&gt; In module tree:
  &gt;&gt;     user
  Warning: RequireJS failed. Use --force to continue.
  </code></pre>
  
  <p>my jquery file is in separate file and I don't want to include it in compiled file. How to do it?</p>