Here is a very interesting article on trade statistics and trade deficit.
According to the author, "if trade statistics were adjusted to reflect the actual value contributed to a product by different countries, the size of the U.S. trade deficit with China—$226.88 billion, according to U.S. figures—would be cut in half."