Error jQuery 2.1.1 via YUI Compressor .NET

Error jQuery 2.1.1 via YUI Compressor .NET

When attaching the uncompressed jquery-2.1.1.js file to the YUI Compressor .NET MSBuild task produces the following errors in the output window:

Exception was thrown at line 2, column 10423 in http://localhost:52769/Scripts/myscripts.min.js
0x800a139e - JavaScript runtime error: SyntaxError
Exception was thrown at line 2, column 10648 in http://localhost:52769/Scripts/myscripts.min.js
0x800a139e - JavaScript runtime error: SyntaxError

Here is the Layout.master page inclusion:

<ajax:ToolkitScriptManager ID="AjaxScriptManager" runat="server" AsyncPostBackTimeout ="360000">
     <Scripts>
          <asp:ScriptReference Path="~/Scripts/myscripts.min.js" />
     </Scripts>
</ajax:ToolkitScriptManager>

Here is the build file:

<?xml version="1.0" encoding="utf-8"?>
  <UsingTask TaskName="JavaScriptCompressorTask" AssemblyFile="..\packages\YUICompressor.NET.MSBuild.2.4.0.0\lib\NET20\Yahoo.Yui.Compressor.Build.MsBuild.dll" />
  <Target Name="Clean">
    <Exec Command="del /F /Q Scripts\*.min.js" />
  </Target>
  <Target Name="Minify" AfterTargets="Clean">
    <ItemGroup>
      <JavaScript Include="Scripts\jquery-2.1.1.js" />
    </ItemGroup>
    <JavaScriptCompressorTask SourceFiles="@(JavaScript)" DeleteSourceFiles="false" ObfuscateJavaScript="False" OutputFile="Scripts\myscripts.min.js" />
  </Target>
</Project>